import type { Route } from '../index.type'
import Layout from '@/layout/index.vue'
import { createNameComponent } from '../createNode'

// 抗干扰性能推算子系统
const route: Route[] = [
  {
    path: '/antiJamPerformCalculateSystem',
    component: Layout,
    redirect: '/antiJamPerformCalculateSystem/testSampleSelected',
    meta: { title: '抗干扰性能推算管理', icon: 'sfont system-chart' },
    alwayShow: true,
    children: [
      {
        path: 'testSampleSelected',
        component: createNameComponent(() => import('@/views/AntiJamPerformanceCalculateSystem/TestSampleSelected/index.vue')),
        meta: { title: '试验样本选择' }
      },
      {
        path: 'fuseCalculate',
        component: createNameComponent(() => import('@/views/AntiJamPerformanceCalculateSystem/TestSampleSelected/FuseCalculate/index.vue')),
        meta: { title: '融合计算', hideTabs: true },
        hideMenu: true
      },
      {
        path: 'computeAtlas',
        component: createNameComponent(() => import('@/views/AntiJamPerformanceCalculateSystem/TestSampleSelected/ComputeAtlas/index.vue')),
        meta: { title: '性能偏差计算图谱', hideTabs: true },
        hideMenu: true
      },
      {
        path: 'deviationCalculateResult',
        component: createNameComponent(() => import('@/views/AntiJamPerformanceCalculateSystem/TestSampleSelected/DeviationCalculateResult/index.vue')),
        meta: { title: '性能偏差计算结果', hideTabs: true },
        hideMenu: true
      },
      {
        path: 'performanceCalculateResult',
        component: createNameComponent(() => import('@/views/AntiJamPerformanceCalculateSystem/TestSampleSelected/PerformanceCalculateResult/index.vue')),
        meta: { title: '推算结果', hideTabs: true },
        hideMenu: true
      },
      {
        path: 'confidenceEvaluate',
        component: createNameComponent(() => import('@/views/AntiJamPerformanceCalculateSystem/ConfidenceEvaluate/index.vue')),
        meta: { title: '置信度评估' }
      },
      {
        path: 'confidenceEvaluateResult',
        component: createNameComponent(() => import('@/views/AntiJamPerformanceCalculateSystem/ConfidenceEvaluate/confidenceEvaluateResultLook.vue')),
        meta: { title: '置信度评估结果', hideTabs: true  },
        hideMenu: true
      }
    ]
  }
]

export default route
